﻿@model MVCDemo.Models.SysUser
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Create</title>
</head>
<body>
    <div> 
        <h2>Create</h2>
        @using (Html.BeginForm())
        {
            <div>
                @Html.DisplayNameFor(model=>model.UserName)
                @Html.EditorFor(model=>model.UserName)
            </div>
            <div>
                @Html.DisplayNameFor(model=>model.Email)
                @Html.EditorForModel(model=>model.Email)
            </div>
            <div>
                @Html.DisplayNameFor(model=>model.Password)
                @Html.PasswordFor(model=>model.Password)
            </div>
            <div>
                <input type="submit" value="Create" />
            </div>
        }
        <div>
            @Html.ActionLink("Back To List","Index")
        </div>
    </div>
</body>
</html>
